package Animal;

public class TestPet {
    public static void main(String[] args) {
        Dog a=new Dog("可乐","边牧",12);
        Penguin b=new Penguin("阿南","南极鹅",11);
        Brid c=new Brid("话痨","虎皮鹦鹉",5);
        a.into();
        a.idea();
        b.into();
        b.swim();
        c.into();
        c.fly();
    }
}
